package com.project.study.farming.base.service.impl;

import com.project.study.farming.base.manager.DrawManager;
import com.project.study.farming.base.service.DrawService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.Map;

@Service
public class DrawServiceImpl implements DrawService {

    @Autowired
    private DrawManager drawManager;

    @Override
    public Map<String, Object> drawPic(Integer id) {
        return this.drawManager.drawPic(id);
    }

    @Override
    public Map<String, Object> drawLine(Integer id) {
        return this.drawManager.drawLine(id);
    }
}
